<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2022/11/1
  Time: 21:40
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>文件上传的界面</title>
</head>
<body>
<form action="<c:url value="/FileDownloadServlet"/>" enctype="multipart/form-data" method="post">
  <table>
    <tr>
      <td>上传者：</td> <td><input type="text" name="username"></td>
    </tr>
    <tr>
      <td>上传文件：</td> <td><input type="file" name="file"></td>
    </tr>
    <tr><td><button type="submit">上传</button></td></tr>
  </table>
</form>
</body>
</html>
